<template>
	<view>
		<view v-html="license"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				license: ''
			}
		},
		onLoad() {
			this.getData();
		},
		methods: {
			/*获取数据*/
			getData() {
				let self = this;
				uni.showLoading({
					title: '加载中'
				})
				self._get('user.agent/apply', {
					platform: self.getPlatform(),
					referee_id: uni.getStorageSync('referee_id')
				}, function(res) {
					uni.hideLoading();
					self.license = res.data.license;
				});
			},

		}
	}
</script>

<style>

</style>